<?php
namespace Home\Model;
use Think\Model;
use Common\Common\Classes\Message;

class CollegeService extends Model{
    private $col_sql;
    public function __construct(){
        $this->col_sql = D("College");
    }
    public function getAllCollege(){
        $college = $this->col_sql->select();
        return $college;
    }
//    public function getCollegeName($col_id){
//        $college = $this->col_sql->where($col_id)->find();
//        return $college["col_name"];
//    }
    public function __destruct(){}
}